import request from '@/utils/request'

// 查询Richemont MA工单列表
export function listWorkOrderMaRichemont(query) {
  return request({
    url: '/system/workOrderMaRichemont/list',
    method: 'get',
    params: query
  })
}

// 查询Richemont MA工单详细
export function getWorkOrderMaRichemont(workOrderId) {
  return request({
    url: '/system/workOrderMaRichemont/' + workOrderId,
    method: 'get'
  })
}

// 新增Richemont MA工单
export function addWorkOrderMaRichemont(data) {
  return request({
    url: '/system/workOrderMaRichemont',
    method: 'post',
    data: data
  })
}

// 修改Richemont MA工单
export function updateWorkOrderMaRichemont(data) {
  return request({
    url: '/system/workOrderMaRichemont',
    method: 'put',
    data: data
  })
}

// 删除Richemont MA工单
export function delWorkOrderMaRichemont(workOrderId) {
  return request({
    url: '/system/workOrderMaRichemont/' + workOrderId,
    method: 'delete'
  })
}
